Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Operation: Generate Image #683

Merged
merged 3 commits into from
Mar 13, 2020
Merged

New Operation: Generate Image #683

merged 3 commits into from
Mar 13, 2020

Conversation

pointhi
Copy link
Contributor

@pointhi pointhi commented Oct 12, 2019

This is a new operation which takes a byte array, and creates an image from it.

Supported modes:

  • Grayscale (every byte is a pixel)
  • RG (two bytes represent a pixel)
  • RGB (three bytes represent a pixel)
  • RGAB (four bytes represent a pixel (alpha-channel))
  • Bits (every bit represents a pixel)

Example where we import a BMP and interpret it bytewise:

cyberchef_generate_image

Example where ABCDEFGHIJKLMNOP is shown as Bits

abcdefgh

@CLAassistant
Copy link

CLAassistant commented Oct 12, 2019

CLA assistant check
All committers have signed the CLA.

@pointhi
Copy link
Contributor Author

pointhi commented Mar 8, 2020

any update on merging?

@n1474335 n1474335 merged commit 032c7f5 into gchq:master Mar 13, 2020
@n1474335
Copy link
Member

Great contribution, thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants